  -- Lady Sacrolash --
function spell0_25165(pUnit, Event) --@Berserk,n/a--
pUnit:FullCastSpellOnTarget(26662,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25165', 790, 1)
end
function spell1_25165(pUnit, Event) --@Conflagration,n/a--
pUnit:FullCastSpellOnTarget(45342,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25165', 13500, 1)
end
function spell2_25165(pUnit, Event) --@Confounding Blow,n/a--
pUnit:FullCastSpellOnTarget(45256,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_25165', 6449, 1)
end
function spell3_25165(pUnit, Event) --@Empower,Heal--
pUnit:FullCastSpellOnTarget(45366,pUnit)
pUnit:RegisterEvent('Sorts_25165', 780, 1)
end
function spell4_25165(pUnit, Event) --@Fireblast,Heal--
pUnit:FullCastSpellOnTarget(45232,pUnit)
pUnit:RegisterEvent('Sorts_25165', 815, 1)
end
function spell5_25165(pUnit, Event) --@Shadow Blades,Heal--
pUnit:FullCastSpellOnTarget(45248,pUnit)
pUnit:RegisterEvent('Sorts_25165', 1500, 1)
end
function spell6_25165(pUnit, Event) --@Shadow Nova,Heal--
pUnit:FullCastSpellOnTarget(45332,pUnit)
pUnit:RegisterEvent('Sorts_25165', 796, 1)
end
function spell7_25165(pUnit, Event) --@Shadow Nova,Heal--
pUnit:FullCastSpellOnTarget(45329,pUnit)
pUnit:RegisterEvent('Sorts_25165', 3500, 1)
end
function Sorts_25165(pUnit, Event)
choix_sorts_25165 = math.random(0, 7)
if choix_sorts_25165 == 0 then
pUnit:RegisterEvent('spell0_25165', 1, 1)
end
if choix_sorts_25165 == 1 then
pUnit:RegisterEvent('spell1_25165', 1, 1)
end
if choix_sorts_25165 == 2 then
pUnit:RegisterEvent('spell2_25165', 1, 1)
end
if choix_sorts_25165 == 3 then
pUnit:RegisterEvent('spell3_25165', 1, 1)
end
if choix_sorts_25165 == 4 then
pUnit:RegisterEvent('spell4_25165', 1, 1)
end
if choix_sorts_25165 == 5 then
pUnit:RegisterEvent('spell5_25165', 1, 1)
end
if choix_sorts_25165 == 6 then
pUnit:RegisterEvent('spell6_25165', 1, 1)
end
if choix_sorts_25165 == 7 then
pUnit:RegisterEvent('spell7_25165', 1, 1)
end
end
function mob25165_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_25165', math.random(1500, 3000), 1)
end
function mob25165_Leave(pUnit, Event)
end
function mob25165_Kill(pUnit, Event)
end
function mob25165_Die(pUnit, Event)
pUnit:RemoveEvents();
end
RegisterUnitEvent(25165, 1, 'mob25165_Action')
RegisterUnitEvent(25165, 2, 'mob25165_Leave')
RegisterUnitEvent(25165, 3, 'mob25165_Kill')
RegisterUnitEvent(25165, 4, 'mob25165_Die')
